package com.jt808.decode.model;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 0x54 sensor log data
 * @author Mr.Li
 * @date 2023-03-15
 */
@Data
public class SensorLogData {
    /**
     * location Type (0:Not positioned; 1:GPS positioning)
     */
    private Integer locationType=-1;

    /**
     * ACC Status 0:ACC Off;1:ACC on (V effective)
     */
    private Integer acc = -1;

    /**
     *latitude(WGS84)
     */
    private Double lat;

    /**
     * longitude(WGS84)
     */
    private Double lon;

    /**
     * altitude(Unit: m)
     */
    private Integer altitude;

    /**
     * speed(Unit:km/h)
     */
    private Double speed;

    /**
     * direction(0~360;0:North)
     */
    private Integer direction;

    /**
     * Device data packaging time(GMT+0)
     */
    private String gnssTime;

    /**
     * Sensor info List
     */
    private List<Map<String,Object>> sensorList;
}
